﻿using Css_VoteSys.Models.Database;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Css_VoteSys.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class TestController:ControllerBase
    {
        private readonly Css_VoteSysContext _db;

        public TestController(Css_VoteSysContext db) {
            _db = db;
        }

        /// <summary>
        /// 测试接口
        /// </summary>
        /// <returns>测试内容</returns>
        [HttpGet]
        public string Test() {
            return "测试内容";
        }
    }
}
